var i;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var ResKeeper = require("AA_ResKeeper");
var NodePoolMag = require("AA_NodePoolMag");
var _decorator = cc._decorator;
var _ccclass = _decorator.ccclass;
_decorator.property;

var _def_UI_BiShaEff = function (e) {
  function _creator() {
    return null !== e && e.apply(this, arguments) || this;
  }
  __extends(_creator, e);
  _creator.prototype.onEnable = function () {
    var e = this;
    this.node.children[0].getComponent(dragonBones.ArmatureDisplay).playAnimation("newAnimation", 1);
    this.scheduleOnce(function () {
      NodePoolMag.NodePoolMag.instance.recycleNode("bisha", e.node);
    }, .5);
  };
  return __decorate([_ccclass], _creator);
}(ResKeeper.default);
exports.default = _def_UI_BiShaEff;